#ifndef MONITORINGDEVICEADD_H
#define MONITORINGDEVICEADD_H

#include <QWidget>
#include <QJsonObject>
#include "SnaillTcpClient.h"
#include "MonitoringTool.h"
#include "userModel.h"
#include  "MonitooringConfig.h"
namespace Ui {
class MonitoringDeviceAdd;
}

class MonitoringDeviceAdd : public QWidget
{
    Q_OBJECT
public slots:
    void handleDataReceived(const QByteArray &);
public:
    explicit MonitoringDeviceAdd(QWidget *parent = nullptr,userModel*model=nullptr);
    ~MonitoringDeviceAdd();

private:
    Ui::MonitoringDeviceAdd *ui;
    userModel*model;
};

#endif // MONITORINGDEVICEADD_H
